<div id="freshcvvupdatecart">
Cart Infomation
</div>
<table border="1" width="100%">
<tr class="classtopmenu">
<td>
Order
</td>
<td>
Name
</td>
<td>
CC Number
</td>
<td>
Ex Month
</td>
<td>
Ex Year
</td>
<td>
City
</td>
<td>
State
</td>
<td>
Zip
</td>
<td>
Country
</td>
<td>
Price
</td>
<td>Buy
</td>
</tr>
<?php
$i=1;
foreach($ResultQuery as $ShowResult)
{
	?>
	<tr>
	<td>
	<?php echo $i;?>
	</td>
	<td>
	<?php echo $ShowResult['lastname'];?>
	</td>
	<td>
		<?php echo "<b>".substr($ShowResult['ccnumber'],0,6)."**********</b>";?>
	</td>
	<td>
		<?php echo $ShowResult['exmonth'];?>
	</td>
	<td>
		<?php echo $ShowResult['exyear'];?>
	</td>
	<td>
		<?php echo $ShowResult['city'];
		if(empty($ShowResult['city']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo $ShowResult['state'];
	if(empty($ShowResult['state']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo $ShowResult['zip'];
		if(empty($ShowResult['zip']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo "<b>".$ShowResult['country']."</b>";?>
	</td>
	<td>
		<?php $Money=$ShowResult['price']+$MoneyPlus;
		echo $Money;
		?>
		
		
	</td>
	<td>
	<input id="ccid" name="ccid" value=<?php echo $ShowResult['ccid'];?> type="checkbox" onclick="javascript:updatecart(<?php echo $ShowResult['ccid'].",".$Money.",".substr($ShowResult['ccnumber'],0,6);?>);" />
	</td>
	</tr>
	<?php 
	$i++;
}

?>
</table>